#!/bin/bash

# 清理构建产物
rm -rf build install log

# 构建项目
colcon build --parallel-workers 8
if [ $? -ne 0 ]; then
    echo "build failed"
    exit 1
fi


